#!/usr/bin/env python

#
# Setup script for PySL
#
# See the README file for information on building and installing the package.
#

from distutils.core import setup, Extension
from numarray.numarrayext import NumarrayExtension

setup(name='pysl',
      version='0.1.0',
      author='Christopher J. Stawarz',
      author_email='cstawarz@cfa.harvard.edu',
      url='http://hea-www.harvard.edu/~cstawarz/pysl/',
      license='http://www.fsf.org/copyleft/gpl.html',
      platforms=['Linux', 'Solaris', 'Mac OS X'],
      description='Use S-Lang functions and variables from Python',
      long_description="""
PySL is a package that makes S-Lang functions and variables accessible via
Python.  It allows any S-Lang data type to move from S-Lang to Python scope
and back and lets the user call any intrinsic or user-defined S-Lang function
(including those defined by imported modules) from Python.  All of this can
be accomplished using a simple, module-like interface.
      """,
      packages=['pysl'],
      ext_modules=[NumarrayExtension('pysl._pysl', ['src/pysl.c'],
                                     libraries=['slang'])],
      classifiers = [
        'Development Status :: 3 - Alpha',
	'Intended Audience :: Developers',
	'License :: OSI Approved :: GNU General Public License (GPL)',
	'Operating System :: MacOS :: MacOS X',
	'Operating System :: POSIX :: Linux',
	'Operating System :: POSIX :: SunOS/Solaris',
	'Programming Language :: Other Scripting Engines',
	'Programming Language :: Python',
	'Topic :: Software Development :: Libraries :: Python Modules'
      ]
     )

